<?php 
$sysApps = new sysApps();
$checkBankInfo = $sysApps->checkBankInfo($_SESSION['login_id']);
$paymentStatus = $sysApps->userInfo($_SESSION['login_id'], 'payment_status');
$last_login = $sysApps->userInfo($_SESSION['login_id'], 'last_login');
$last_login =  date('d M Y', strtotime($last_login));
?>

<div class="welcome">Welcome <?php echo $sysApps->userInfo($_SESSION['login_id'], 'fullname')?>, your last login was on <?php echo $last_login;?></div>

<?php if ($paymentStatus == '0') {?>
<div class="alert">Your account is Inactive, Click <a href="payment-update"><span class="fontBold">HERE</span></a> to make payment</div>
<?php } else {
	include 'apps/display.php';
}?>


